#pragma once
#include <irr/irrlicht.h>
#include "SGameComponents.h"

using namespace irr;
using namespace core;

class CSettings
{
	SIrrlichtCreationParameters m_sIrrlichtCreationParameters;
	SGameComponents m_sGameComponents;

public:
	CSettings(SIrrlichtCreationParameters &params, 
		SGameComponents &gameComponents);

	void setScreenResolution(dimension2d <u32> newResolution);

	void setScreenResolution(u32 width, u32 height);

	dimension2d <u32> getScreenResolution() const;

	void setVSynch(const bool & value = true);

	bool isVsync() const;

	void setFullScreen(bool value = true);

	bool getFullScreen() const;

	
	~CSettings();
};